<?php 

// include '../function.php';

// include './Jiaotonggongju.class.php';

// include './Car.class.php';

// include './Audi.class.php';

// include './Abstract.Dongwu.class.php';

// include './Cat.class.php';

// include './Interface.Ubs.class.php';

// include './Interface.Vga.class.php';

// include './Computer.class.php';



function __autoload($className)
{
	$paths = array(
		$className.".class.php",
		"Abstract.".$className.".class.php",
		"interface.".$className.".class.php"
		);
	foreach ($paths as $path) {
		if(file_exists($path)){
			include $path;
			return;
		}
	}
}


$obj = new Dog();

// $obj->getFunctionName();
 // $obj->jiao('你叫一叫给我看');


















 ?>